//人物动漫化结果
export interface GenerateHumanAnimeStyleResponseBodyData {
  imageURL : string;
}

//图片批量翻译
export interface TranslateImageBatchRequest {
  imageUrls : string;
  sourceLanguage : string;
  targetLanguage : string;
  field : string;
}
//图片批量翻译结果
export interface TranslateImageBatchResult {
  InPaintingUrl : string;
  FinalImageUrl : string;
  TemplateJson : string;
  SourceImageUrl : string;
  Code : number;
  Message : string;
  Success : boolean;
}
//图片翻译结果
export interface TranslateResult {
  Id : number;
  CreateDate : Date;
  UserId : string;
  Field : string;
  OriginImgUrl : string;
  RequestId : string;
  FinalImageUrl : string;
  InPaintingUrl : string;
  TemplateJson : string;
  SourceLanguage : string;
  TargetLanguage : string;
  key : string;
}

//图片翻译请求
export interface TranslateRequest {
  ImageBase64 : string;
  ImageUrl : string;
  SourceLanguage : string;
  TargetLanguage : string;
  Field : string;
  key : string;
}

//图片信息
export interface ImageResultInfo {
  url : string;
  editorData : Array<object>;
}

//文生图请求
export interface Txt2ImgRequest {
  text : string;
  resolution : string;
  style : string;
  num : number;
}
//文生图结果
export interface Txt2ImgResponse {
  log_id : number;
  data : Txt2ImgResponseData
}
export interface Txt2ImgResponseData {
  primary_task_id : number;
  task_id : string;
}

export interface ImgUrl {
  image : string;
}
//ai绘图查询请求
export interface AiImageQueryRequest {
  taskId : string;
}
//ai绘图查询响应
export interface AiImageQueryResponse {
  log_id : number;
  data : AiImageResult
}
export interface AiImageResult {
  task_id : number;
  task_status : string;
  task_progress:number;
  sub_task_result_list:Array<SubTaskResultList>
}
export interface SubTaskResultList
{
  final_image_list:Array<FinalImage>
}
export interface FinalImage
{
  img_url:string;
  img_approve_conclusion:string;
}
//AI绘图图片信息
export interface AiImgInfo {
  id : number;
  createDate : Date;
  userId : string;
  author : string;
  nick : string;
  avatar : string;
  title : string;
  style : string;
  count : number;
  imgUrls : string;
  likeCount : number;
  isTop : boolean;
}
//图片pk活动信息
export interface ImgPkMatchModel {
  id : number;
  createUserId : string;
  createNick : string;
  actorUserId : string;
  actorNick : string;
  createDate : Date;
  endDate : Date;
  matchStatus : number;
  createdImgUrl : string;
  actorImgUrl : string;
  createdVote : number;
  actorVote : number;
  description : string;
}

//文字水印添加
export interface TxtWatermarkAddModel {
  FunctionType : string;
  Text : string;  //文字水印
  OutputFileType : string;
  QualityFactor : number;
  OriginImageURL : Array<string>;
}
//图片水印添加
export interface PicWatermarkAddModel {
  FunctionType : string;
  LogoURL : string; //图片水印
  OutputFileType : string;
  QualityFactor : number;
  OriginImageURL : Array<string>;
}

//水印解析请求
export interface watermarkResolveModel {
  FunctionType : string;
  QualityFactor:number;
  WatermarkImageURL :Array<string>
}

export interface TxtWatermarkResult {
  WatermarkImageURL : string; //添加水印时返回
  textImageURL : string; //解析时返回

}
//图片水印结果
export interface PicWatermarkResult {
  WatermarkImageURL : string; //添加水印时返回
  logoURL : string; //解析时返回
}




